package com.dgshanger.sanhxiaofeisc.mvp.contract;

import com.xx.baseuilibrary.mvp.BaseMvpView;
import com.xx.baseutilslibrary.network.rx.XxBaseHttpObserver;

import java.util.List;

/**
 * Created by JacobHHH on 2018/4/20.
 */

public interface GradeContract {

    interface View extends BaseMvpView{

        void setImageResult(List<String> pictures);

        void submitCommentSuccess(String msg);
    }

    interface Presenter{
        /**
         * 从图片选择器或是拍照后返回
         *
         * @param newImageLists
         */
        void imageSelect(List<String> newImageLists);

        /**
         * 从图片预览页面后返回
         *
         * @param newImageLists
         */
        void imageDelete(List<String> newImageLists);

        void submitComment(String order_sn,String comment_score,String comment_content,List<String> img);
    }

    interface Model{

        void submitComment(String order_sn, String comment_score, String comment_content
                , List<String> img , XxBaseHttpObserver<Object> httpObserver);
    }
}
